package com.example.home.viewmodel.classify;

public class CategoryList {
    private int id;
    private String name;
    private String keywords;
    private String desc;
    private int pid;
    private String iconUrl;
    private String picUrl;
    private String level;
    private String sortOrder;
    private String addTime;
    private String updateTime;
    private Boolean deleted;
    private Boolean isChecked = false;

    public CategoryList() {
    }

    public CategoryList(int id, String name, String keywords, String desc, int pid, String iconUrl, String picUrl, String level, String sortOrder, String addTime, String updateTime, Boolean deleted, Boolean isChecked) {
        this.id = id;
        this.name = name;
        this.keywords = keywords;
        this.desc = desc;
        this.pid = pid;
        this.iconUrl = iconUrl;
        this.picUrl = picUrl;
        this.level = level;
        this.sortOrder = sortOrder;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
        this.isChecked = isChecked;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getKeywords() {
        return keywords;
    }

    public String getDesc() {
        return desc;
    }

    public int getPid() {
        return pid;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public String getLevel() {
        return level;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public String getAddTime() {
        return addTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public Boolean getChecked() {
        return isChecked;
    }

    public void setChecked(Boolean checked) {
        isChecked = checked;
    }
}
